package cn.wolfcode.luowowo.comment.service;

import cn.wolfcode.luowowo.comment.domain.ScenicComment;
import cn.wolfcode.luowowo.comment.domain.ScenicCommentTag;
import cn.wolfcode.luowowo.scenic.query.ScenicCommentQueryObject;
import org.springframework.data.domain.Page;

import java.util.List;
import java.util.Map;

/**
 * 景点评论的业务接口
 */
public interface IScenicCommentTagService {
    /**
     * 保存景点评论标签
     * @param scenicCommentTag
     * @return
     */
    ScenicCommentTag save(ScenicCommentTag scenicCommentTag);

    /**
     * 获取指定景点的前十个标签
     * @param scenicId
     * @return
     */
    List<ScenicCommentTag> getTop10(long scenicId);
}
